/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Tp2Principal;

import java.io.Serializable;

/**
 *
 * @author Usager
 */
public class Parties implements Serializable
{
    int dimension = 8;
    Case[][] tabCases = new Case[dimension][dimension];
    boolean[][] caseRemplie = new boolean[dimension][dimension];
    boolean [][] caseRouge= new boolean[dimension][dimension];
    boolean [][] caseGris= new boolean[dimension][dimension];
    boolean[][] caseDoubler = new boolean[dimension][dimension];
    boolean[][] caseDeplacer = new boolean[dimension][dimension];
    int action = 0;

    public Parties(){
        
    }

    public int getAction() {
        return action;
    }

    public boolean[][] getCaseDeplacer() {
        return caseDeplacer;
    }

    public boolean[][] getCaseDoubler() {
        return caseDoubler;
    }

    public boolean[][] getCaseGris() {
        return caseGris;
    }

    public boolean[][] getCaseRemplie() {
        return caseRemplie;
    }

    public boolean[][] getCaseRouge() {
        return caseRouge;
    }

    public int getDimension() {
        return dimension;
    }

    public Case[][] getTabCases() {
        return tabCases;
    }

    public void setAction(int action) {
        this.action = action;
    }

    public void setCaseDeplacer(boolean[][] caseDeplacer) {
        this.caseDeplacer = caseDeplacer;
    }

    public void setCaseDoubler(boolean[][] caseDoubler) {
        this.caseDoubler = caseDoubler;
    }

    public void setCaseGris(boolean[][] caseGris) {
        this.caseGris = caseGris;
    }

    public void setCaseRemplie(boolean[][] caseRemplie) {
        this.caseRemplie = caseRemplie;
    }

    public void setCaseRouge(boolean[][] caseRouge) {
        this.caseRouge = caseRouge;
    }

    public void setDimension(int dimension) {
        this.dimension = dimension;
    }

    public void setTabCases(Case[][] tabCases) {
        this.tabCases = tabCases;
    }

}
